SftTree/OCX 7.0

SftTreeColumn.BackColor Property

Softel vdm, Inc.

Defines the background color of cells in this column.

Syntax       

 

Get

VB.NET

Clr = object.BackColor  As UIntegerLanguage-specific information

VB

Clr = object.BackColor  As OLE_COLOR

C#.NET

uintLanguage-specific information Clr = object.BackColor;

VC++

OLE_COLOR Clr = object->BackColor;
OLE_COLOR Clr = object->GetBackColor();

C

HRESULT object->get_BackColor(OLE_COLOR* Clr);

Delphi

Clr := object.BackColor  : Cardinal;

Put

VB.NET

object.BackColor = Clr  As UIntegerLanguage-specific information

VB

object.BackColor = Clr  As OLE_COLOR

C#.NET

uintLanguage-specific information object.BackColor = Clr;

VC++

OLE_COLOR object->BackColor = Clr;
void object->PutBackColor(OLE_COLOR Clr);

C

HRESULT object->put_BackColor(OLE_COLOR Clr);

Delphi

object.BackColor := Clr  : Cardinal;

object

A SftTreeColumn object.

Clr

Defines the background color of cells in this column. -1 indicates that there is no defined color and the default colors are used. For information about color properties, please visit the applicable section "Using SftTree/OCX with ...".

Comments

The BackColor property defines the background color of cells in this column.

The BackColor property defines the background color of cells in this column for items that are not selected. Cells can override the background color using the Cell.BackColor property. If a selected item uses a selection style (Items.SelectStyle property) that uses the Column.SelectBackColor property for only portions of the item, the Column.BackColor property is used for the remainder of the item.

The BackColor property can be used to define the default background color of cells in this column, combined with BackColorEnd creating a gradient fill.

See Also  SftTreeColumn Object | Object Hierarchy


Feedback / comments / error reports for this topic
© 2015 - Softel vdm, Inc. - www.softelvdm.com